<?php
// +----------------------------------------------------------------------
// | COMPANY  [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2024 https://www.fastadmin.net All rights reserved.
// +----------------------------------------------------------------------
// | Author: 乘风
// +----------------------------------------------------------------------

namespace app\admin\model\company;

use think\Model;


class ExampleIndustry extends Model
{

    

    

    // 表名
    protected $name = 'company_example_industry';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];

    public function examples()
    {
        return $this->hasMany('Example', 'example_industry_id', 'id');
    }


}